package com.itheima.type;

public class TypeConversionDemo6 {
    public static void main(String[] args) {
        String week = "周三";
        switch (week){
            case "周一":
                System.out.println("周一");
                break;
            case "周二":
                System.out.println("周二");
                break;
            case "周三":
                System.out.println("周三");
                break;
            case "周四":
                System.out.println("周四");
                break;
            case "周五":
                System.out.println("周五");
                break;
            case "周六":
                System.out.println("周六");
                break;
            case "周七":
                System.out.println("周七");
                break;
            default:
                System.out.println("您输入的星期有误！");
        }
    }
}
